package com.example.pcl.pojo.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 咨询记录表，记录每次咨询的详细情况
 * </p>
 *
 * @author xx
 * @since 2024-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("consultation_records")
@Schema(name = "ConsultationRecords对象", description = "咨询记录表，记录每次咨询的详细情况")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ConsultationRecords implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "咨询记录ID")
    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;

    @Schema(description = "预约ID")
    private Integer appointmentId;

    @Schema(description = "心理咨询师ID")
    private Integer counselorId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @Schema(description = "详细记录咨询过程中的对话内容、关键问题、学生反馈等情况")
    private String consultationContent;

    @Schema(description = "咨询师对学生心理问题的专业分析内容")
    private String problemAnalysis;

    @Schema(description = "咨询师针对学生问题给出的建议和指导措施")
    private String suggestions;


}
